package com.yao.repository;

import com.yao.dataobject.SellerInfo;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * User: 姚宏武
 * Date: 2017/11/30
 * Time: 15:35
 * Email：401369870@qq.com
 * Description: 卖家信息dao
 */
public interface SellerInfoRepository extends JpaRepository<SellerInfo, String> {

    /**
     * 通过openid查找用户信息
     *
     * @param openid
     * @return
     */
    SellerInfo findByOpenid(String openid);

}
